package com.lottery.material.dao.transaction;

import com.lottery.material.pojo.transaction.UserBuyRecord;
import com.lottery.material.vo.portal.transaction.BuyRecordVo;

import java.util.List;
import java.util.Map;

/**
 * @description 用户充值记录Mapper
 * @author rambo
 * @date 2019年4月17日 下午7:16:06
 */
@SuppressWarnings("JavaDoc")
public interface UserBuyRecordMapper {

    Integer deleteByPrimaryKey(Integer id);

    Integer insert(UserBuyRecord record);

    Integer insertSelective(UserBuyRecord record);

    UserBuyRecord selectByPrimaryKey(Integer id);

    Integer updateByPrimaryKeySelective(UserBuyRecord record);

    Integer updateByPrimaryKey(UserBuyRecord record);


    List<BuyRecordVo> findBuyListByUserId(Map<String, Object> map);
}
